package com_djm_2025_05_29;
import java.util.Scanner;
public class Demo5 {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int num = scan.nextInt();
        scan.close();

        //write code here......
        int count = 0;

        while(num > 0) {
            num /= 10;
            count++;
        }

        System.out.println(count);

    }
}
